//
// Created by FindBin on 2024/6/15.
//

#pragma once

#include "UPRE_GLOBAL_DEFINE.h"
#define FBCF_CAN (hfdcan1)

typedef float_t float32_t;

typedef struct {
    float32_t spd;
    float32_t pos;
} FedSetMaster_t;

void fbcf_arm(uint16_t id);

void fbcf_set_pos(uint16_t id, float32_t angle);
void fbcf_set_spd(uint16_t id, float32_t spd);
void fbcf_set_pos_spd(uint16_t id, float32_t pos, float32_t spd);

